package com.xujicheng;

import java.util.HashMap;
import java.util.Map;
import java.util.Random;

public class Demo {
    public static void main(String[] args) {
        Map<String,String>  map  = new HashMap<>();
        for(int i = 0;i<10000;i++) {
            char[] c = new char[10];
            for(int j = 0;j<10;j++){
                c[j] = (char) new Random().nextInt(127);
            }
            String s = new String(c);
            map.put(s, s);
        }
    }
}
